package com.webside.spread.mapper;

import java.util.List;
import java.util.Map;

import com.webside.base.basemapper.BaseMapper;
import com.webside.spread.model.GenerateLinksEntity;
import com.webside.spread.model.SpreadSupporterEntity;


public interface GenerateLinksMapper extends BaseMapper<GenerateLinksEntity, Long> {
	/**
	 * 查询所有链接
	 * @return
	 */
	List<GenerateLinksEntity> selectAllLinks(Map<String,Object> parameter);
	/**
	 * 条件查询
	 */
	List<GenerateLinksEntity> selectLinks(GenerateLinksEntity link);
	/**
	 * 新增
	 */
	void addLinks(GenerateLinksEntity link);
	/**
	 * 修改
	 */
	void updateLinks(GenerateLinksEntity link);
	/**
	 * 删除
	 */
	 void deleteLinks(GenerateLinksEntity link);
}
